package com.wkbb.sports.mapper;

import java.util.List;
import java.util.Map;

import com.wkbb.sports.dto.DetectChartDto;
import com.wkbb.sports.dto.DetectProjectDto;
import com.wkbb.sports.dto.DetectWarnDto;
import org.apache.ibatis.annotations.Param;

import com.wkbb.common.base.BaseMapper;
import com.wkbb.sports.model.HlifeDetect;

public interface HlifeDetectMapper extends BaseMapper<HlifeDetect> {
	
	
	void deleteStudentDevice(@Param("id") Long id);
	
	
	List<HlifeDetect> selDetecInfo(@Param("id") Long id);
	
	HlifeDetect  isExit(Long classId);

	List<String> selectUseDeviceGoup(Map<String,Object> map);

	List<DetectChartDto> getDetectChartData(Map<String, Object> map);

    List<DetectWarnDto> getWarnStuList(@Param("detectId") Long detectId, @Param("warnHeartRate") Integer warnHeartRate);

	List<DetectWarnDto> getWarnList(Map<String, Object> map);

	List<DetectProjectDto> getDetectProjectList(Map<String, Object> map);

}
